import type * as Common from './common/type'
import http from '@/utils/http'

const BASE_URL = '/teacher/parentEvaluation'

// 家长评价列表
export function getRateList(id: string) {
  return http.get<Common.RateResp[]>(`${BASE_URL}/get/${id}`)
}

// 评价详情
export function getRateDetail(id: string) {
  return http.get<Common.RateDetailResp[]>(`${BASE_URL}/detail/${id}`)
}
